﻿using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Nacos.AspNetCore.V2;
using Nacos.V2.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nacos.Framework.Extends
{
    public static class NacosExtend
    {
        public static void AddNacosRegister(this IServiceCollection services, IConfiguration config)
        {
            services.AddNacosAspNet(config, "nacos");
        }
    }
}
